package io.renren.modules.carMove.service.impl;

import io.renren.modules.carMove.dao.ShootVehicleDao;
import io.renren.modules.carMove.entity.ShootVehicleEntity;
import io.renren.modules.carMove.service.ShootVehicleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service("shootVehicleService")
public class ShootVehicleServiceImpl implements ShootVehicleService {
	@Autowired
	private ShootVehicleDao shootVehicleDao;
	
	@Override
	public ShootVehicleEntity queryObject(Integer id){
		return shootVehicleDao.queryObject(id);
	}
	
	@Override
	public List<ShootVehicleEntity> queryList(Map<String, Object> map){
		return shootVehicleDao.queryList(map);
	}

	@Override
	public List<ShootVehicleEntity> queryListByShootId(String shootId) {
		return shootVehicleDao.queryListByShootId(shootId);
	}

	@Override
	public int queryTotal(Map<String, Object> map){
		return shootVehicleDao.queryTotal(map);
	}
	
	@Override
	public void save(ShootVehicleEntity shoovehicle){
		shootVehicleDao.save(shoovehicle);
	}
	
	@Override
	public void update(ShootVehicleEntity shoovehicle){
		shootVehicleDao.update(shoovehicle);
	}
	
	@Override
	public void delete(Integer id){
		shootVehicleDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		shootVehicleDao.deleteBatch(ids);
	}
	
}
